package com.joysuch.wwyt.bp.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "审核模板流程")
public class BpWorkSafetyAuditProcessBean implements Serializable {

    @ApiModelProperty("流程名称")
    private String processName;

    @ApiModelProperty("人员或者岗位id")
    private Long personOrDepartId;
    private String personOrDepartName;

    @ApiModelProperty("选择类型:0岗位;1人员")
    private Integer type;
    private String typeName;

//    @ApiModelProperty(value = "编辑权限id:0危害辨识;1安全措施")
//    private Integer permissionId;
//    private String permissionName;

    @ApiModelProperty(value = "编辑权限")
    private List<BpWorkSafetyAuditPermissionBean> permissionBeans;

}
